package cn.edu.njtc.entity.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;


@Setter
@Getter
@AllArgsConstructor
@ToString
@NoArgsConstructor
@Component
@TableName("user_detail")
public class UserDetail implements Serializable {
    @TableId("user_id")
    private Integer id;

    @TableField("user_age")
    private Integer age;

    @TableField("user_gender")
    private String gender;

    @TableField("birth_date")
    private LocalDate birthDate;


    @TableField("diagnose_age")
    private Integer diagnoseAge;

    private String province;

    private String city;

    private String district;

    @TableField("detailed_address")
    private String detailedAddress;

    private LocalDateTime created;

    private LocalDateTime updated;

    private Boolean deleted;



}
